package com.mock.water;

import net.sf.ehcache.Cache;
import net.sf.ehcache.CacheManager;
import net.sf.ehcache.Element;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.core.io.ClassPathResource;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import java.io.IOException;

/**
 * mockwater应用程序
 *
 * @author dell
 * @date 2022/10/07
 */
@EnableCaching
@EnableConfigurationProperties
@MapperScan(basePackages = "com.mock.water.modules.system.*.mapper")
@SpringBootApplication
public class MockwaterApplication {
    static {
        System.setProperty("druid.mysql.usePingMethod", "false");
    }

    public static void main(String[] args) {
        SpringApplication.run(MockwaterApplication.class, args);
    }

}
